package com.zxy.ziems.server.production.mapper;

/**
 * @Copyright (C),
 * @ClassName: CustXyhCompleteRcvMapper
 * @Author: yanzhiwei
 * @Description:
 * @Date: 2024/5/13 14:36
 */

import com.zxy.ziems.server.mybatis.core.mapper.BaseMapperX;
import com.zxy.ziems.server.production.pojo.dto.CustXyhCompletercvCountDTO;
import com.zxy.ziems.server.production.pojo.entity.CustXyhCompleterptEntity;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface CustXyhCompleterptMapper extends BaseMapperX<CustXyhCompleterptEntity> {

    /**
     * @param startDate
     * @param endDate
     * @return
     */
    List<CustXyhCompletercvCountDTO> typeDayCount(String startDate, String endDate);

    /**
     * 月
     *
     * @param startDate
     * @param endDate
     * @return
     */
    List<CustXyhCompletercvCountDTO> typeMonthCount(String startDate, String endDate);

    /**
     * 月
     *
     * @param startDate
     * @param endDate
     * @return
     */
    List<CustXyhCompletercvCountDTO> typeMonthCount1(String startDate, String endDate);

    /**
     * 年
     *
     * @param startDate
     * @param endDate
     * @return
     */
    List<CustXyhCompletercvCountDTO> typeYearCount(String startDate, String endDate);

    /**
     * 年
     *
     * @param startDate
     * @param endDate
     * @return
     */
    List<CustXyhCompletercvCountDTO> typeYearCount1(String startDate, String endDate);


    /**
     * 历年
     *
     * @param startDate
     * @param endDate
     * @return
     */
    List<CustXyhCompletercvCountDTO> typeHisYearCount(String startDate, String endDate);

    /**
     * 获取开始时间
     *
     * @return
     */
    LocalDateTime getBeginDate();

    void deleteAll();
}
